import Vue from 'vue'
import App from './App'
// 集中式router管理工具
import MpVueRouterPatch from 'mpvue-router-patch'
import Toast from '../static/vant/toast/toast'
import Dialog from '../static/vant/dialog/dialog'

Vue.use(MpVueRouterPatch)
Vue.config.productionTip = false
Vue.prototype.$toast = Toast
Vue.prototype.$dialog = Dialog

App.mpType = 'app'

const app = new Vue(App)
app.$mount()
